#ifndef _SQUARE_H
#define _SQUARE_H

#include "Point.h"
#include "Figure.h"

class Square: public Figure{

	public:
		
		Square();

		Square(std::string id, Point vertex,int side, Color *borderColor);

		Square(std::string id, Point vertex,int side, Color *borderColor, Color* fillColor);

		Square(std::string id, Point vertex,int side, Color *borderColor, Texture* texture);

		Square(std::string id, Point vertex,int side, Texture* texture);

		void draw() ;

		std::string getCreationLog();

		~Square();

	private:

		void setLimits(Point vertex);

		void drawTextured();

		int side;
		
		//puntos del cuadrado

		Point pointA;

		Point pointB;
		
		Point pointC;
		
		Point pointD;
};

#endif